﻿using System;
using wojilu.ORM;

namespace wojilu.Apps.Qycms.Domain
{
    [Table("ybb_menulink")]
    [Serializable]
    public class Menulink : ObjectBase<Menulink>
    {
        [Default(50), NotNull("请输入排序"), Column(Length = 6)]
        public Int32 pid { get; set; }

        [Default(0), NotNull(""), Column(Length = 6, Name = "mtype")]
        public Int32 type { get; set; }

        [Default(0), NotNull(""), Column(Length = 6)]
        public Int32 topmlid { get; set; }

        [Default(""), NotNull(""), Column(Length = 100)]
        public String menuname { get; set; }

        [Default(""), Column(Length = 200)]
        public String linkurl { get; set; }

        [TinyInt, Default(1), NotNull(""), Column(Length = 1)]
        public Int32 isshow { get; set; }

        [NotNull(""), Column(Length = 30)]
        public String loadfun { get; set; }

        [Column(Length = 50)]
        public String classname { get; set; }

        [TinyInt, Default(0), NotNull(""), Column(Length = 1)]
        public Int32 ismenu { get; set; }

    }

}
